import handleOptions from '@/plugin/_plugin_methods/option.ts'
import { request } from '@/plugin/utils'

export const options = {
  officialPlugins: ['router', 'pinia'],
  componentsLib: ['AntdVue', 'ElementPlus'],
  utils: {
    axios: request,
  },
}

export function setupPlugins(app) {
  handleOptions(app, (options as any))
}
